package com.example.myframe.callback

import androidx.databinding.ViewDataBinding
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder

/**
 * 用于dataBinding适配器传递数据
 * */
interface DataBindingConsumer<BD : ViewDataBinding, T> {
    fun convert(holder: BaseDataBindingHolder<BD>, item: T)
}